from rest_framework.routers import DefaultRouter
from .views import BasketViewSet, AdminBasketViewSet


router = DefaultRouter(trailing_slash=False)

router.register("baskets", BasketViewSet, basename="basket")
router.register("admin", AdminBasketViewSet, basename="basket")
router.include_root_view = False

urlpatterns = router.urls
